package hp.com.entity;

public class ProductType {
    private int id;          // 主键自增
    private String typename; // 名字
    private int typeLevel;

    public ProductType() {
    }

    public ProductType(int id, String typename, int typeLevel) {
        this.id = id;
        this.typename = typename;
        this.typeLevel = typeLevel;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public int getTypeLevel() {
        return typeLevel;
    }

    public void setTypeLevel(int typeLevel) {
        this.typeLevel = typeLevel;
    }

    @java.lang.Override
    public java.lang.String toString() {
        return "ProductType{" +
                "id=" + id +
                ", typename='" + typename + '\'' +
                ", typeLevel=" + typeLevel +
                '}';
    }
}
